defaultBackgroundColor

Returns the default background color of the web pages loaded in the browser instance associated with these settings.

Initially, the default background color is white.

Throws

when the browser is closed


abstract fun defaultBackgroundColor(color: Color)

Sets the default background color of the web pages loaded in the browser instance associated with these settings.

This color will be used as a default background color when Chromium cannot identify the background color. This may happen if the page is not fully loaded, or the page does not explicitly override the default background.

If a web page is already loaded, its default background color will be updated and an asynchronous request to repaint the web page will be sent.

Parameters

color

the new default background color

Throws

when the browser is closed